﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008CB RID: 2251
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HealPoolInfoNotify : IMessage<HealPoolInfoNotify>, IMessage, IEquatable<HealPoolInfoNotify>, IDeepCloneable<HealPoolInfoNotify>, IBufferMessage
	{
		// Token: 0x17001C86 RID: 7302
		// (get) Token: 0x0600650F RID: 25871 RVA: 0x0010F69D File Offset: 0x0010D89D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HealPoolInfoNotify> Parser
		{
			get
			{
				return HealPoolInfoNotify._parser;
			}
		}

		// Token: 0x17001C87 RID: 7303
		// (get) Token: 0x06006510 RID: 25872 RVA: 0x0010F6A4 File Offset: 0x0010D8A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HealPoolInfoNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001C88 RID: 7304
		// (get) Token: 0x06006511 RID: 25873 RVA: 0x0010F6B6 File Offset: 0x0010D8B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HealPoolInfoNotify.Descriptor;
			}
		}

		// Token: 0x06006512 RID: 25874 RVA: 0x0010F6BD File Offset: 0x0010D8BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HealPoolInfoNotify()
		{
		}

		// Token: 0x06006513 RID: 25875 RVA: 0x0010F6C5 File Offset: 0x0010D8C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HealPoolInfoNotify(HealPoolInfoNotify other) : this()
		{
			this.healPoolInfo_ = ((other.healPoolInfo_ != null) ? other.healPoolInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006514 RID: 25876 RVA: 0x0010F6FA File Offset: 0x0010D8FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HealPoolInfoNotify Clone()
		{
			return new HealPoolInfoNotify(this);
		}

		// Token: 0x17001C89 RID: 7305
		// (get) Token: 0x06006515 RID: 25877 RVA: 0x0010F702 File Offset: 0x0010D902
		// (set) Token: 0x06006516 RID: 25878 RVA: 0x0010F70A File Offset: 0x0010D90A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HealPoolInfo HealPoolInfo
		{
			get
			{
				return this.healPoolInfo_;
			}
			set
			{
				this.healPoolInfo_ = value;
			}
		}

		// Token: 0x06006517 RID: 25879 RVA: 0x0010F713 File Offset: 0x0010D913
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HealPoolInfoNotify);
		}

		// Token: 0x06006518 RID: 25880 RVA: 0x0010F721 File Offset: 0x0010D921
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HealPoolInfoNotify other)
		{
			return other != null && (other == this || (object.Equals(this.HealPoolInfo, other.HealPoolInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006519 RID: 25881 RVA: 0x0010F754 File Offset: 0x0010D954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.healPoolInfo_ != null)
			{
				num ^= this.HealPoolInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600651A RID: 25882 RVA: 0x0010F790 File Offset: 0x0010D990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600651B RID: 25883 RVA: 0x0010F798 File Offset: 0x0010D998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600651C RID: 25884 RVA: 0x0010F7A1 File Offset: 0x0010D9A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.healPoolInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.HealPoolInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600651D RID: 25885 RVA: 0x0010F7D4 File Offset: 0x0010D9D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.healPoolInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HealPoolInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600651E RID: 25886 RVA: 0x0010F814 File Offset: 0x0010DA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HealPoolInfoNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.healPoolInfo_ != null)
			{
				if (this.healPoolInfo_ == null)
				{
					this.HealPoolInfo = new HealPoolInfo();
				}
				this.HealPoolInfo.MergeFrom(other.HealPoolInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600651F RID: 25887 RVA: 0x0010F868 File Offset: 0x0010DA68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006520 RID: 25888 RVA: 0x0010F874 File Offset: 0x0010DA74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.healPoolInfo_ == null)
					{
						this.HealPoolInfo = new HealPoolInfo();
					}
					input.ReadMessage(this.HealPoolInfo);
				}
			}
		}

		// Token: 0x04002696 RID: 9878
		private static readonly MessageParser<HealPoolInfoNotify> _parser = new MessageParser<HealPoolInfoNotify>(() => new HealPoolInfoNotify());

		// Token: 0x04002697 RID: 9879
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002698 RID: 9880
		public const int HealPoolInfoFieldNumber = 8;

		// Token: 0x04002699 RID: 9881
		private HealPoolInfo healPoolInfo_;
	}
}
